joshua van haften , 34 , of madison , was arrested wednesday night at o'hare international airport in chicago after returning on a flight from turkey .
he has been charged in a criminal complaint with attempting to provide material support to a foreign terrorist organization .
the criminal complaint , which had been under seal since oct. 28 , alleges that van haften talked to people about his plan before leaving the united states in august .